﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;

namespace WpfScratchApp
{
    public class Photos : ObservableCollection<Photo>
    {
    }
    
    public class Photo
    {
        private readonly string _name;
        private readonly string _path;

        public Photo(string fileName)
        {
            var fileInfo = new FileInfo(fileName);
            _name = fileInfo.Name;
            _path = fileInfo.DirectoryName;
        }

        public string Name
        {
            get { return _name; }
        }

        public string Path
        {
            get { return _path; }
        }

        public string FullPath
        {
            get { return System.IO.Path.Combine(Path, Name); }
        }
    }
}
